package com.up.management.domain.dto;

import com.up.management.domain.entity.Item;
import com.up.management.domain.entity.ItemDetail;

/**
 * 项目管理带详情DTO对象
 * 用于接收前端传来的包含基本信息和详情信息的完整数据
 * 
 * @author cloud
 * @date 2025-01-18
 */
public class ItemWithDetailDTO extends Item
{
    private static final long serialVersionUID = 1L;

    /** 项目详情信息 */
    private ItemDetail itemDetail;

    public ItemDetail getItemDetail() {
        return itemDetail;
    }

    public void setItemDetail(ItemDetail itemDetail) {
        this.itemDetail = itemDetail;
    }

    @Override
    public String toString() {
        return "ItemWithDetailDTO{" +
                "itemDetail=" + itemDetail +
                "} " + super.toString();
    }
}